package com.sky.shortlink.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author Blue sky
 * @Description
 * @create 2024-02-15 11:32
 */

@SpringBootApplication
@MapperScan("com.sky.shortlink.admin.dao.mapper")   //持久层接口扫描器
@EnableDiscoveryClient   //Nacos 注册中心注解
@EnableFeignClients("com.sky.shortlink.admin.remote")
public class ShortLinkAdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(ShortLinkAdminApplication.class, args);
    }
}
